//
//  OPMGuideCountryListHeadView.m
//  OnePiece
//
//  Created by wsy on 15/10/29.
//  Copyright © 2015年 wsy. All rights reserved.
//

#import "OPMGuideCountryListHeadView.h"

@implementation OPMGuideCountryListHeadView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _picture = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_WIDTH*235/520)];
        _picture.image = [UIImage imageNamed:@"mguidehead.jpg"];
        [self addSubview:_picture];
        _desc = [[UILabel alloc]initWithFrame:CGRectMake(20, SCREEN_WIDTH*235/520+10, SCREEN_WIDTH - 40, 40)];
        _desc.numberOfLines = 0;
        _desc.text = @"对于吃货来说，《米其林指南》是必修宝典。";
        _desc.textColor = [UIColor colorWithRed:0.325 green:0.332 blue:0.330 alpha:1.000];
        _desc.font = [UIFont systemFontOfSize:14];
        [self addSubview:_desc];
    }
    return self;
}
@end
